a11y: Check display in `*grab_cell_focus()`
authorOlivier Fourdan <ofourdan@redhat.com>
Mon, 7 Jan 2019 21:06:57 +0000 (21:06 +0000)
committerDaniel Boles <dboles.src@gmail.com>
Mon, 7 Jan 2019 21:06:57 +0000 (21:06 +0000)
commit58e273d0562392f1b0a19f6b733fdcf0a35acaf3
tree2f7479936e2655a00fbfc90290971483aea671ac
parent1c14285deeb32c454f84fb0dcc3dae2459cedaee
a11y: Check display in `*grab_cell_focus()`

Calling the accessibility function `grab_focus()` on a `GtkCell` under
Wayland will cause the client to crash.

This is another case of `gdk_x11_get_server_time()` being called
regardless of the actual windowing backend used.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1507
gtk/a11y/gtktreeviewaccessible.c